package cn.edu.htu.entity.dto;

import lombok.Data;

import java.io.Serializable;

/**
 * 描述: EmployeeDTO
 *
 * @Package cn.edu.htu.entity.dto
 * @Author dakai
 * @Data 2021/7/16 11:38
 * @Version V1.0
 * Excitation 将来的你，一定会感谢现在的你
 */
@Data
public class EmployeeDTO implements Serializable{
    /**
     * 主键id
     */
    private Integer id;
    /**
     * 登录名
     */
    private String loginname;
    /**
     * 密码
     */
    private String password;
    /**
     * 真实姓名
     */
    private String name;
    /**
     * 性别
     */
    private String sex;
    /**
     * 年龄
     */
    private Integer age;
    /**
     * 电话
     */
    private String phone;
    /**
     * 薪水
     */
    private Double sal;
    /**
     * 状态
     */
    private String state;

    public EmployeeDTO(Integer id, String loginname, String password, String name, String sex, Integer age, String phone, Double sal, String state) {
        this.id = id;
        this.loginname = loginname;
        this.password = password;
        this.name = name;
        this.sex = sex;
        this.age = age;
        this.phone = phone;
        this.sal = sal;
        this.state = state;
    }
}
